home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15605 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: nntp.teleport.com!usenet
  2. From: GHouck <hksys@teleport.com>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Can C read spreadsheet cells?
  5. Date: 20 Apr 1996 08:21:46 GMT
  6. Organization: systems hk
  7. Message-ID: <4la6qq$7tq@nadine.teleport.com>
  8. References: <1996Apr19.054751@bbs.ug.eds.com>
  9. NNTP-Posting-Host: ip-pdx03-45.teleport.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.22 (Windows; I; 32bit)
  14.  
  15. berryb@bbs.ug.eds.com (High Plains GRIPster (TRW C.S.D.)) wrote:
  16. >Does anyone know of a C program that reads cell information
  17. >from a spreadsheet or database? (Lotus123, MS Approach).
  18. >I need to be able to pull strings from a defined cell.
  19. >Is there an association between the string and cell location
  20. >that C is able to read?
  21.  
  22. Brett,
  23.  
  24. Each spreadsheet vendor has their own proprietary data format for
  25. their programs.  If you knew this format, you could certainly
  26. read the spreadsheets; however, since they tend to use fairly
  27. sophisticated techniques for storing a maximum amount of data
  28. in the smallest possible space, it is not likely to be trivial.
  29.  
  30. I would suggest exporting the data to a more readable (and
  31. standard) format (e.g.: .DIF, .SIF, or ASCII comma-delimited, or
  32. even .DBF (dBase format)).  You can find routines to handle
  33. something as complicated as DBF, and the various delimited
  34. text formats should not be much trouble at all.
  35.  
  36. Yours, Geoff Houck
  37.  
  38.